﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace EASM___Demo
{
    class Program
    {
        static void Main(string[] args)
        {
            if (args.Length > 0)
            {
                EASM_Language.Old.Execute.ExecuteFile(args[0], Console.Out, Console.In);
            }
            else
            {
                //Console.WriteLine("USAGE: easm-demo.exe easm-file.easm");
                EASM_Language.Old.Execute.LoadExternalFunctions(Application.StartupPath + @"\easm.dll");
                Console.ReadKey();
            }
        }
    }
}
